package com.kingdee.eas.jky.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DeparmentFactory
{
    private DeparmentFactory()
    {
    }
    public static com.kingdee.eas.jky.basedata.IDeparment getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IDeparment)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("9A2EE5D9") ,com.kingdee.eas.jky.basedata.IDeparment.class);
    }
    
    public static com.kingdee.eas.jky.basedata.IDeparment getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IDeparment)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("9A2EE5D9") ,com.kingdee.eas.jky.basedata.IDeparment.class, objectCtx);
    }
    public static com.kingdee.eas.jky.basedata.IDeparment getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IDeparment)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("9A2EE5D9"));
    }
    public static com.kingdee.eas.jky.basedata.IDeparment getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IDeparment)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("9A2EE5D9"));
    }
}